package com.yiyuan.app.entity.result;

import com.guaike.core.entity.annotation.DictConvert;
import com.yiyuan.app.entity.constant.BusinessDictCodeConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: zhangxilin
 * @Date: 2024/5/31
 */
@ApiModel("图片信息")
@Data
public class ImageVO implements Serializable {

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("图片地址")
    private String image;

    @ApiModelProperty("链接类型(0:空链接，1：内链，2：外链)")
    @DictConvert(code = BusinessDictCodeConstant.BANNER_URL_TYPE)
    private Integer linkType;

    @ApiModelProperty("链接地址")
    private String linkUrl;
}
